# Bucket CRUD mc mb local/my-bucket # create mc lslocal/ # list buckets mc rb local/my-bucket --force # delete (with contents)
# Object CRUD mc cp file.txt local/my-bucket/ # upload mc cplocal/my-bucket/file.txt ./ # download mc lslocal/my-bucket/ # list objects mc rmlocal/my-bucket/file.txt # delete
# Management mc dulocal/my-bucket # disk usage mc statlocal/my-bucket/file.txt # object metadata mc admin info local# server info mc version enablelocal/my-bucket # enable versioning mc quota setlocal/my-bucket --size 1GiB # set quota mc anonymous set download local/my-bucket # public read mc ilm rule add local/my-bucket --expire-days 30 # lifecycle
On-Disk Storage Format
MinIO does not store files as plain Linux files. The structure is:
1 2 3 4 5 6 7
~/minio-data/ ├── .minio.sys/ # system metadata (config, IAM, trash, usage) └── <bucket>/ └── <object-path>/ ├── xl.meta # object metadata └── <version-uuid>/ └── part.1 # actual data chunk
Do not edit files directly on disk - use S3 API or mc
Backup should use mc mirror or S3 replication, not filesystem snapshots
RUSTFS_UNSAFE_BYPASS_DISK_CHECK=true is required for local testing because all volume directories reside on the same physical disk. RustFS enforces distinct physical disks for erasure coding in production.
Item
Value
API
http://127.0.0.1:9000
Console
http://127.0.0.1:9001
Credentials
rustfsadmin / rustfsadmin
Data Volumes
4 drives, erasure coding EC:2
Configure Client
RustFS is 100% S3 compatible. Any S3 client works:
1 2 3 4 5
# Using mc (MinIO Client - generic S3 client) ~/minio-bin/mc aliasset rustfs http://127.0.0.1:9000 rustfsadmin rustfsadmin
# Using boto3 (Python S3 SDK) pip3 install boto3
Stop Server
1
pkill -f rustfs
Basic Operations (via mc)
1 2 3 4 5 6
mc mb rustfs/my-bucket mc cp file.txt rustfs/my-bucket/ mc ls rustfs/my-bucket/ mc cp rustfs/my-bucket/file.txt ./ mc rm rustfs/my-bucket/file.txt mc admin info rustfs
mc is just one of many S3 clients. It is a generic S3 client that works with any S3-compatible server, not just MinIO. RustFS has no code-level relationship with MinIO - they both simply implement the same S3 API specification.